package com.lnsf.bookstore.web.chapter.service.impl;

import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.lnsf.bookstore.web.chapter.dao.ApiChapterMapper;
import com.lnsf.bookstore.web.chapter.service.ApiChapterService;
import com.lnsf.bookstore.web.chapter.vo.ApiChapter;
import com.lnsf.bookstore.web.comment.dao.ApiCommentMapper;
import com.lnsf.bookstore.web.comment.vo.ApiComment;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ApiChapterServiceImpl implements ApiChapterService {

    @Autowired
    private ApiChapterMapper apiChapterMapper;

    @Override
    public List<ApiChapter> queryList(Map<String, Object> map) {
        return apiChapterMapper.queryList(map);
    }

    @Override
    public ApiChapter queryObject(Map<String, Object> map) {
        return apiChapterMapper.queryObject(map);
    }
}
